package webapi.storage;

import java.io.Closeable;
import java.io.IOException;
import java.nio.channels.WritableByteChannel;


public interface ReadOnlyDataChunk extends Closeable {
    org.springframework.core.io.Resource getResource() throws IOException;
    long transferTo(long position, long count, WritableByteChannel target) throws IOException;
}
